<ul>
    <p class="">
        <a href="#none" class="line" onclick=""></a>
    </p>
</ul>
<!--发送邮件连接到邮件发送页面-->
<ul>
    <a  href="/sendorderemail-{{ order.sn }}.html"  class="glyphicon glyphicon-envelope" style="font-size: 15px;"></a>
</ul>


{% if order.order_status.code=='placed' %}
<ul>
<!--     {{ form_open({'request': 'onRePaymentOrder', 'class': 'checkoutForm','id':'yy_onRePaymentOrder_'~order.sn}) }}
    <input type="hidden" name="key" value="{{ order.sn }}">
    <button type="submit" class="pay_btn order_paybtn" form="yy_onRePaymentOrder_{{order.sn}}">今すぐ払う</button>
    {{ form_close() }} -->
    <a href="/repay-{{ order.sn }}-{{ order.payment_method }}-p.html" class="pay_btn">今すぐ支払う</a>
</ul>
{% endif %}

<!--取消操作-->
{% if order.order_status.code == 'placed'%}
<ul style="margin-top: 5px;">
    <button data-sn="{{ order.sn }}" class="pay_btn2 order_pay_cancel">キャンセル</button>
   <!-- <a class="orderXx" href="{{ 'account/orders'|page }}"
       data-request="onCancelOrder"
       data-request-data="sn: {{ order.sn }}" >
        <img src="http://img.echosting.cafe24.com/skin/base_ja_JP/myshop/btn_order_retract.gif" alt="キャンセル">
    </a>-->
</ul>
{% endif %}

<!--点击进入物流详情页面-->
{% if  order.order_status.code == 'paid' or order.order_status.code == 'delivered' or order.order_status.code == 'confirmreceipt' %}
<ul style="margin-top: 5px;">
<a  href="/viewlogistics-{{ order.sn }}.html" class="btn btn-default">物流情報のチェック</a>
</ul>
{% endif %}

<!--催发货提示后台改下ERP状态状态-->
{% set is_display_ship_reminder = catalog.orderReminderDate(order.created_at) %}
{% if order.order_status.code == 'paid' and is_display_ship_reminder==1 %}
<ul>
    <button  data-request="onOrderShipReminder" data-request-data="sn: {{ order.sn }}"  class="pay_btn2 order_paybtn tan_cuizzs">出荷を催促する</button>
</ul>
{% endif %}


<!--确认收货弹框，修改订单状态123-->
{% if order.order_status.code == 'delivered'%}
<ul style="margin-top: 5px;">
    <button data-request="onConfirmReceipt" data-request-data="sn: {{ order.sn }}"  data-request-confirm="ご荷物は受け取りましたか？" class="pay_btn2 order_paybtn">受取の確認</button>
</ul>
{% endif %}







